package com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxq_orderstoredetail")
public class OrderStoreDetailEntity extends BaseEntity {

    private Integer id;

    private String storeid;

    private String mainid;

    private String detailid;

    private String inventoryowner;

    private String reserveid;

    private String tplid;

    private Short dr = 0;

    private String orderid;

    private String orderdetailid;

    private String sourceid;

    private String sourceautoid;

    private String sourcecode;

    private String firstsourceid;

    private String firstsourceautoid;

    private String firstsourcecode;

    private String unitid;

    private String stockunitid;

    private String productid;

    private String productskuid;

    private String warehouseid;

    private String operateuserid;

    private String operatetime;

    private String operatetype;

    private String operatetypename;

    private double storecount = 0;

    private Integer epccount = 0;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public String getSourceautoid() {
        return sourceautoid;
    }

    public void setSourceautoid(String sourceautoid) {
        this.sourceautoid = sourceautoid;
    }

    public String getFirstsourceautoid() {
        return firstsourceautoid;
    }

    public void setFirstsourceautoid(String firstsourceautoid) {
        this.firstsourceautoid = firstsourceautoid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStoreid() {
        return storeid;
    }

    public void setStoreid(String storeid) {
        this.storeid = storeid;
    }

    public String getInventoryowner() {
        return inventoryowner;
    }

    public void setInventoryowner(String inventoryowner) {
        this.inventoryowner = inventoryowner;
    }

    public String getReserveid() {
        return reserveid;
    }

    public void setReserveid(String reserveid) {
        this.reserveid = reserveid;
    }

    public String getTplid() {
        return tplid;
    }

    public void setTplid(String tplid) {
        this.tplid = tplid;
    }

    public Short getDr() {
        return dr;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public String getMainid() {
        return mainid;
    }

    public void setMainid(String mainid) {
        this.mainid = mainid;
    }

    public String getDetailid() {
        return detailid;
    }

    public void setDetailid(String detailid) {
        this.detailid = detailid;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrderdetailid() {
        return orderdetailid;
    }

    public void setOrderdetailid(String orderdetailid) {
        this.orderdetailid = orderdetailid;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getSourcecode() {
        return sourcecode;
    }

    public void setSourcecode(String sourcecode) {
        this.sourcecode = sourcecode;
    }

    public String getFirstsourceid() {
        return firstsourceid;
    }

    public void setFirstsourceid(String firstsourceid) {
        this.firstsourceid = firstsourceid;
    }

    public String getFirstsourcecode() {
        return firstsourcecode;
    }

    public void setFirstsourcecode(String firstsourcecode) {
        this.firstsourcecode = firstsourcecode;
    }

    public String getUnitid() {
        return unitid;
    }

    public void setUnitid(String unitid) {
        this.unitid = unitid;
    }

    public String getStockunitid() {
        return stockunitid;
    }

    public void setStockunitid(String stockunitid) {
        this.stockunitid = stockunitid;
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public String getProductskuid() {
        return productskuid;
    }

    public void setProductskuid(String productskuid) {
        this.productskuid = productskuid;
    }

    public String getWarehouseid() {
        return warehouseid;
    }

    public void setWarehouseid(String warehouseid) {
        this.warehouseid = warehouseid;
    }

    public String getOperateuserid() {
        return operateuserid;
    }

    public void setOperateuserid(String operateuserid) {
        this.operateuserid = operateuserid;
    }

    public String getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(String operatetime) {
        this.operatetime = operatetime;
    }

    public String getOperatetype() {
        return operatetype;
    }

    public void setOperatetype(String operatetype) {
        this.operatetype = operatetype;
    }

    public String getOperatetypename() {
        return operatetypename;
    }

    public void setOperatetypename(String operatetypename) {
        this.operatetypename = operatetypename;
    }

    public double getStorecount() {
        return storecount;
    }

    public void setStorecount(double storecount) {
        this.storecount = storecount;
    }

    public Integer getEpccount() {
        return epccount;
    }

    public void setEpccount(Integer epccount) {
        this.epccount = epccount;
    }
}
